﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

namespace $safeprojectname$.Web
{
    public interface IEditModel<T, TID, TFilter> : IEntityModel<T, TFilter>
        where T : class, IPersistentObjectWithTypedId<TID>
        where TFilter : class, IFilter<TID>
    {
        /// <summary>
        ///     Current Entity Item used on Detail, New and Edit
        /// </summary>
        new T Item { get; set; }

        /// <summary>
        ///     Filter object for Entity Item.
        ///     (In Dao should be casted to EntitySearch to provide access to all properties)
        /// </summary>
        new TFilter Filter { get; set; }
    }
}